﻿div[class*="gallery-embed-rajce"] .gallery-item > p {
  display: none;
}

div[class*="gallery-embed-rajce"] {
  font-size: 0;
}

div[class*="gallery-embed-rajce"] .gallery-icon {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

div[class*="gallery-embed-rajce"] .gallery-icon a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-bottom-width: 0;
  -webkit-transform: translate(50%,50%);
  -ms-transform: translate(50%,50%);
  transform: translate(50%,50%);
}

div[class*="gallery-embed-rajce"] .gallery-icon a img {
  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}

div[class*="gallery-embed-rajce"] .gallery-icon.landscape a img {
  height: 100%;
  width: auto;
  max-width: none;
}

div[class*="gallery-embed-rajce"] .gallery-icon.portrait a img {
  width: 100%;
  height: auto;
  max-height: none;
}